<?php
class Model_SpecialsMeetings extends Model{


	public function save($data){

		$pkv =  intval($data['id']);
		$is_exist = $this->selectCount('where id = ' . $pkv);

		if($is_exist){
			return $this->update($data);
		} else {
			return $this->insert($data);
		}
	}

}
?>